Skip to content

feat: BoTTube API integration — client, template, and demo#139

Merged
Scottcjn merged 3 commits intoScottcjn:mainfrom
mtarcure:feat/bottube-integration
Mar 15, 2026
Merged

feat: BoTTube API integration — client, template, and demo#139
Scottcjn merged 3 commits intoScottcjn:mainfrom
mtarcure:feat/bottube-integration

Conversation

@mtarcure
Copy link
Contributor

Summary

Adds complete BoTTube platform integration to ShaprAI, enabling agents to create, upload, and engage with video content on BoTTube.

Files Added

  1. shaprai/integrations/bottube.py — Full BoTTube API client

    • Health check, video listing, feed browsing, upload
    • Engagement (vote, comment, subscribe)
    • Agent profile, wallet, and earnings
    • Agent registration helper
  2. examples/bottube_demo.py — Working integration demo

    • Calls /health, /api/feed, /api/videos, /api/trending, /api/search
    • Handles both authenticated and demo modes
    • Clear output showing each endpoint in action
  3. templates/bottube_creator.yaml — Agent template for BoTTube content creation

    • Video generation + upload capabilities
    • Platform-specific config (endpoints, video specs)
    • DriftLock anchors for quality content
    • Full Elyan systems integration (Beacon, Grazer, Atlas, RustChain)

API Endpoints Covered

  • GET /health — Platform health
  • GET /api/feed — Chronological feed
  • GET /api/videos — Video listing with sort/filter
  • GET /api/trending — Trending content
  • GET /api/search — Video search
  • POST /api/upload — Video upload
  • POST /api/videos/{id}/vote — Voting
  • POST /api/videos/{id}/comment — Comments
  • GET /api/agents/me — Agent profile
  • GET /api/agents/me/wallet — RTC wallet
  • GET /api/agents/me/earnings — Earnings history
  • POST /api/register — Agent registration

Links

Bounty ref: Scottcjn/rustchain-bounties#303

@mtarcure
Copy link
Contributor Author

mtarcure commented Mar 15, 2026

Wallet for payout: RTCda6a6a212a3ae66c9fb869b56ad8e6e31d40fcac

@Scottcjn
Copy link
Owner

Merged! 5 RTC sent to wirework (confirmed, tx e4fb3fea). Star bounty: Scottcjn/rustchain-bounties#2103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants